"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.B = exports.A = void 0;
var A;
(function (A) {
    class Dog {
        constructor(theName) {
            this.name = theName;
        }
        eat() {
            console.log(`${this.name} 在吃狗粮。`);
        }
    }
    A.Dog = Dog;
    class Cat {
        constructor(theName) {
            this.name = theName;
        }
        eat() {
            console.log(`${this.name} 吃猫粮。`);
        }
    }
    A.Cat = Cat;
})(A = exports.A || (exports.A = {}));
var B;
(function (B) {
    class Dog {
        constructor(theName) {
            this.name = theName;
        }
        eat() {
            console.log(`${this.name} 在吃狗粮。`);
        }
    }
    B.Dog = Dog;
    class Cat {
        constructor(theName) {
            this.name = theName;
        }
        eat() {
            console.log(`${this.name} 在吃猫粮。`);
        }
    }
    B.Cat = Cat;
})(B = exports.B || (exports.B = {}));
